Square root of number in python